import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'
import router from './Router/router'
import axios from 'axios'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

// 引入 Element Plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css' // 引入 Element Plus 的样式


// 创建应用
const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
  }

// 使用 Element Plus 和 router
app.use(ElementPlus)
app.use(router)

// 挂载应用
app.mount('#app')
